package com.guli.eduService.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zxc
 * @date 2023/04/06 09:29
 **/
@ApiModel(value = "课时基本信息", description = "编辑课时基本信息的表单对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
// 实体类VideoFormInfo，是用来存储 小节弹窗页面所传递过来的小节数据;
public class VideoFormInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    // 新增小节信息时，该id是会自动生成的;
    // 修改小节信息时，则需要获取所要修改的小结信息id值;
    @ApiModelProperty(value = "视频ID")
    private String id;

    @ApiModelProperty(value = "课程ID")
    private String courseId;

    @ApiModelProperty(value = "章节ID")
    private String chapterId;

    @ApiModelProperty(value = "节点名称")
    private String title;

    @ApiModelProperty(value = "云端视频资源")
    private String videoSourceId;

    @ApiModelProperty(value = "原始文件名称")
    private String videoOriginalName;

    @ApiModelProperty(value = "排序字段")
    private Integer sort;

    @ApiModelProperty(value = "是否可以试听：0收费 1免费")
    private Integer isFree;

}
